<?php


namespace app\api\validate;


class IDMustBePositiveInt extends BaseValidate
{
    protected $rule = [
        'id' => 'require|number|isPositiveInteger|integer',
    ];

    protected $message = [
        'id' => 'ID必须是正整数'
    ];
}